package com.lz.ht.dao;

import com.lz.ht.model.Advance;
import com.lz.ht.model.Orgnews;
import com.lz.ht.model.Room;
import org.springframework.stereotype.Repository;
import java.util.List;
import java.util.HashMap;
import org.apache.ibatis.annotations.Mapper;

//@Repository
@Mapper
public interface RoomAdvanceMapper {

    void add(Advance advance);

    Room findById(Long id);

    List<Room> findAll();

    List<Room> findList(Room room);

    long findCount(Room room);

    long findCountByMap(HashMap<String, Object> hashMap);

    List<Room> findListByMapLimit(HashMap<String, Object> hashMap);

    List<Room> findPageListByDto(HashMap<String, Object> hashMap);

    long findCountByDto(HashMap<String, Object> hashMap);

}
